package com.eduadmin.mapper;

import com.eduadmin.entity.Team;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface TeamMapper {
    //hgm 批量导入班级
    int insertTeams(List<Team> teams);

    // zlc
    // 根据"年级名称"查询所有班级记录,返回班级对象列表 （放弃本方法）
    //    List<Team> getTeamByParam(String gradeName);

    //根据名字查班级
    Team selectTeamByTeamName(String teamName);
    //hgm 获取所有班级 1-30班
    List<Team> selectTeams();

    //int deleteByPrimaryKey(Integer teamId);

//    int insertSelective(Team record);

//    Team selectByPrimaryKey(Integer teamId);

//    int updateByPrimaryKeySelective(Team record);

//    int updateByPrimaryKey(Team record);
}